#ifndef MCONTINUITYFORM_H
#define MCONTINUITYFORM_H

#include <QWidget>
#include<QMessageBox>

namespace Ui {
class MContinuityForm;
}

class MContinuityForm : public QWidget
{
    Q_OBJECT

public:
    explicit MContinuityForm(QWidget *parent = nullptr);
    ~MContinuityForm();

private slots:
    //void run();
    void on_Button_start_clicked();
    void on_PushButton_stop_clicked();
    void on_PushButton_cleanpos_clicked();
    void updateWin();
    void showWarn(QString message);
    void on_addPoint_clicked();
    void on_removePoint_clicked();

protected:
    void showEvent(QShowEvent *events) override;

private:
    Ui::MContinuityForm *ui;
    int pointrow=0;
    int axislist[4]={0,1,2,3};
    bool runflage=false;
    float nowSpeed=0;
    int rebuf=0;
    int mark=0;

    QMessageBox::StandardButton warn;
};


#endif // MCONTINUITYFORM_H
